import Vue from 'vue'
import VueRouter from 'vue-router'
// 导入登录组件
import Login from '../components/Login.vue'


Vue.use(VueRouter)

const routes = [
                      
]

const router = new VueRouter({
  routes:[
    // 重定向
    {path:'/',redirect: '/login'},
    {
      path: '/login',
      component: Login
    },
  ]
})

export default router
